var PORT = 3000;

var http = require('http');
var url=require('url');
var fs=require('fs');
var mine=require('./mine').types;
var path=require('path');

var server = http.createServer(function (request, response) {
    var pathname = url.parse(request.url).pathname;
    var realPath = path.join("assets", pathname);
    console.log(realPath);
    var ext = path.extname(realPath);
});
server.listen(PORT);
console.log("Server runing at port: " + PORT + ".");